$OpenBSD: patch-noteshared_CMakeLists_txt,v 1.2 2015/07/02 00:10:16 zhuk Exp $
Fix linking.
--- noteshared/CMakeLists.txt.orig	Thu Jun 25 20:47:38 2015
+++ noteshared/CMakeLists.txt	Sun Jun 28 14:42:43 2015
@@ -63,7 +63,7 @@ kde4_add_kcfg_files(libnoteshared_kcfg_lib_SRCS ${libn
 kde4_add_library(noteshared ${LIBRARY_TYPE} ${libnoteshared_SRCS} ${libnoteshared_kcfg_lib_SRCS} )
 
 target_link_libraries(noteshared
-     ${KDEPIMLIBS_AKONADI_LIBS} ${QT_QTNETWORK_LIBRARY} ${KDE4_KDNSSD_LIBS} pimcommon akonadi_next ${KDEPIMLIBS_KMIME_LIBS} ${KDEPIMLIBS_AKONADI_NOTES_LIBS})
+     akonadi_next pimcommon ${KDEPIMLIBS_AKONADI_NOTES_LIBS} ${KDEPIMLIBS_AKONADI_LIBS} ${KDEPIMLIBS_KMIME_LIBS} ${KDE4_KDNSSD_LIBS} ${QT_QTNETWORK_LIBRARY})
 
 set_target_properties(noteshared PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
 install(TARGETS noteshared ${INSTALL_TARGETS_DEFAULT_ARGS})
